YOLOv8 object detection for crowd counting